package cj.web.admin.domain;
/*
 *  
 *  
*/
import java.io.Serializable;

/**
 * 评论
 */
public class FeedbackReply extends DataTablePage implements Serializable {

    protected Integer id;
	protected Integer feedbackId;
	protected Integer userId;
	protected String contents;
	protected Integer isAnonymous;
	protected Integer releaseState;
	protected String reply;
	protected Integer replyUserId;
	protected String replyName;
	protected Integer praiseNum;
	protected String stickAt;
	protected Integer deleteFlag;
	protected String createUser;
	protected String createAt;
	protected String updateUser;
	protected String updateAt;
	
	protected String feedbackUserName;
	protected String feedbackDescs;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getFeedbackId() {
		return feedbackId;
	}
	public void setFeedbackId(Integer feedbackId) {
		this.feedbackId = feedbackId;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public String getContents() {
		return contents;
	}
	public void setContents(String contents) {
		this.contents = contents;
	}
	public Integer getIsAnonymous() {
		return isAnonymous;
	}
	public void setIsAnonymous(Integer isAnonymous) {
		this.isAnonymous = isAnonymous;
	}
	public Integer getReleaseState() {
		return releaseState;
	}
	public void setReleaseState(Integer releaseState) {
		this.releaseState = releaseState;
	}
	public String getReply() {
		return reply;
	}
	public void setReply(String reply) {
		this.reply = reply;
	}
	public Integer getReplyUserId() {
		return replyUserId;
	}
	public void setReplyUserId(Integer replyUserId) {
		this.replyUserId = replyUserId;
	}
	public String getReplyName() {
		return replyName;
	}
	public void setReplyName(String replyName) {
		this.replyName = replyName;
	}
	public Integer getPraiseNum() {
		return praiseNum;
	}
	public void setPraiseNum(Integer praiseNum) {
		this.praiseNum = praiseNum;
	}
	public String getStickAt() {
		return stickAt;
	}
	public void setStickAt(String stickAt) {
		this.stickAt = stickAt;
	}
	public Integer getDeleteFlag() {
		return deleteFlag;
	}
	public void setDeleteFlag(Integer deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	public String getCreateUser() {
		return createUser;
	}
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	public String getCreateAt() {
		return createAt;
	}
	public void setCreateAt(String createAt) {
		this.createAt = createAt;
	}
	public String getUpdateUser() {
		return updateUser;
	}
	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}
	public String getUpdateAt() {
		return updateAt;
	}
	public void setUpdateAt(String updateAt) {
		this.updateAt = updateAt;
	}
	public String getFeedbackUserName() {
		return feedbackUserName;
	}
	public void setFeedbackUserName(String feedbackUserName) {
		this.feedbackUserName = feedbackUserName;
	}
	public String getFeedbackDescs() {
		return feedbackDescs;
	}
	public void setFeedbackDescs(String feedbackDescs) {
		this.feedbackDescs = feedbackDescs;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = super.hashCode();
		result = prime * result
				+ ((contents == null) ? 0 : contents.hashCode());
		result = prime * result
				+ ((createAt == null) ? 0 : createAt.hashCode());
		result = prime * result
				+ ((createUser == null) ? 0 : createUser.hashCode());
		result = prime * result
				+ ((deleteFlag == null) ? 0 : deleteFlag.hashCode());
		result = prime * result
				+ ((feedbackDescs == null) ? 0 : feedbackDescs.hashCode());
		result = prime * result
				+ ((feedbackId == null) ? 0 : feedbackId.hashCode());
		result = prime
				* result
				+ ((feedbackUserName == null) ? 0 : feedbackUserName.hashCode());
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		result = prime * result
				+ ((isAnonymous == null) ? 0 : isAnonymous.hashCode());
		result = prime * result
				+ ((praiseNum == null) ? 0 : praiseNum.hashCode());
		result = prime * result
				+ ((releaseState == null) ? 0 : releaseState.hashCode());
		result = prime * result + ((reply == null) ? 0 : reply.hashCode());
		result = prime * result
				+ ((replyName == null) ? 0 : replyName.hashCode());
		result = prime * result
				+ ((replyUserId == null) ? 0 : replyUserId.hashCode());
		result = prime * result + ((stickAt == null) ? 0 : stickAt.hashCode());
		result = prime * result
				+ ((updateAt == null) ? 0 : updateAt.hashCode());
		result = prime * result
				+ ((updateUser == null) ? 0 : updateUser.hashCode());
		result = prime * result + ((userId == null) ? 0 : userId.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (!super.equals(obj))
			return false;
		if (getClass() != obj.getClass())
			return false;
		FeedbackReply other = (FeedbackReply) obj;
		if (contents == null) {
			if (other.contents != null)
				return false;
		} else if (!contents.equals(other.contents))
			return false;
		if (createAt == null) {
			if (other.createAt != null)
				return false;
		} else if (!createAt.equals(other.createAt))
			return false;
		if (createUser == null) {
			if (other.createUser != null)
				return false;
		} else if (!createUser.equals(other.createUser))
			return false;
		if (deleteFlag == null) {
			if (other.deleteFlag != null)
				return false;
		} else if (!deleteFlag.equals(other.deleteFlag))
			return false;
		if (feedbackDescs == null) {
			if (other.feedbackDescs != null)
				return false;
		} else if (!feedbackDescs.equals(other.feedbackDescs))
			return false;
		if (feedbackId == null) {
			if (other.feedbackId != null)
				return false;
		} else if (!feedbackId.equals(other.feedbackId))
			return false;
		if (feedbackUserName == null) {
			if (other.feedbackUserName != null)
				return false;
		} else if (!feedbackUserName.equals(other.feedbackUserName))
			return false;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		if (isAnonymous == null) {
			if (other.isAnonymous != null)
				return false;
		} else if (!isAnonymous.equals(other.isAnonymous))
			return false;
		if (praiseNum == null) {
			if (other.praiseNum != null)
				return false;
		} else if (!praiseNum.equals(other.praiseNum))
			return false;
		if (releaseState == null) {
			if (other.releaseState != null)
				return false;
		} else if (!releaseState.equals(other.releaseState))
			return false;
		if (reply == null) {
			if (other.reply != null)
				return false;
		} else if (!reply.equals(other.reply))
			return false;
		if (replyName == null) {
			if (other.replyName != null)
				return false;
		} else if (!replyName.equals(other.replyName))
			return false;
		if (replyUserId == null) {
			if (other.replyUserId != null)
				return false;
		} else if (!replyUserId.equals(other.replyUserId))
			return false;
		if (stickAt == null) {
			if (other.stickAt != null)
				return false;
		} else if (!stickAt.equals(other.stickAt))
			return false;
		if (updateAt == null) {
			if (other.updateAt != null)
				return false;
		} else if (!updateAt.equals(other.updateAt))
			return false;
		if (updateUser == null) {
			if (other.updateUser != null)
				return false;
		} else if (!updateUser.equals(other.updateUser))
			return false;
		if (userId == null) {
			if (other.userId != null)
				return false;
		} else if (!userId.equals(other.userId))
			return false;
		return true;
	}
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("FeedbackReply [id=").append(id).append(", feedbackId=")
				.append(feedbackId).append(", userId=").append(userId)
				.append(", contents=").append(contents)
				.append(", isAnonymous=").append(isAnonymous)
				.append(", releaseState=").append(releaseState)
				.append(", reply=").append(reply).append(", replyUserId=")
				.append(replyUserId).append(", replyName=").append(replyName)
				.append(", praiseNum=").append(praiseNum).append(", stickAt=")
				.append(stickAt).append(", deleteFlag=").append(deleteFlag)
				.append(", createUser=").append(createUser)
				.append(", createAt=").append(createAt).append(", updateUser=")
				.append(updateUser).append(", updateAt=").append(updateAt)
				.append(", feedbackUserName=").append(feedbackUserName)
				.append(", feedbackDescs=").append(feedbackDescs).append("]");
		return builder.toString();
	}
}